Release 10.1A: OpenEdge Getting Started:
Object-oriented Programming
Sample classes
This is the top-level user-defined super class for two class hierarchies and provides a common error handler and time-tracking methods for all classes that inherit from it:
This interface is implemented by the following class,
acme.myObjs.CustObj:
This class extends
acme.myObjs.Common.CommonObjto provide general functionality for handling customers and is a super class for theacme.myObjs.NECustomerclass, which handles New England customers:
This class extends
acme.myObjs.CustObjto handle New England customers by overridingGetCustomerName( )to return the customer’s E-mail address along with their name:
This class provides various support methods for other classes:
This class provides a method for notification of customers who have exceeded their credit limit:
This class provides a common mechanism together with the
ErrorHandler( )method inacme.myObjs.Common.CommonObjfor other classes to store and report error information:
This class is the main driver for running all the other sample classes:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |